class Animal:
    pass


def Dog():
    pass


class Animal:
    name = 'animal'
    class Dog(Animal):
        def show(self):
            print('dog~~~~~')
            
            dog = Dog()
            print(dog.name)